package org.apcs.pokemon.pokemon;

/**
 * Author:			Zachary Reed
 * Date Created:	Mar 27, 2010
 * Last Modified:	Mar 28, 2010
 * Package:			org.apcs.pokemon.pokemon
 * Filename:		Squirtle.java
 * Description:		A class that defines the default stats for Squirtle &
 * 					constructs new Squirtle pokemon.
 */

/** Squirtle
 * Number:			007							Base HP:  44	HP Yield:   0
 * M/F Ratio:		87.5% male					Base AT:  48	AT Yield:   0
 * Type(s):			Water						Base DE:  65	DE Yield:   1
 * Exp @ lvl 100:	1,059,860					Base SA:  50	SA Yield:   0
 * Evolves @ lvl:	16  						Base SD:  64	SD Yield:   0
 * Evolves into:	Wartortle					Base SP:  43	SP Yield:   0
 * Base moves:		Tackle,Tail Whip							XP Yield:  66
 */

public class Squirtle extends Pokemon {

	protected static final int NUMBER               =	7;
	protected static final String NAME              =	"Squirtle";
	protected static final double MFRATIO           =	87.5;
	protected static final int[] TYPES              =	{2,2};
	protected static final int[] STATS              =	{44,48,65,50,64,43};
	protected static final int[] EVYIELDS           =	{0,0,1,0,0,0,66};
	protected static final int EXPTYPE              =	3;
	protected static final int EVOLVES_AT_LVL       =	16;
	protected static final int EVOLVES_INTO         =	8;
	protected static final int[] BASE_MOVES         =	{33,39};
    protected static final int[][] LEVEL_UP_MOVES   =   {{4,39},{7,145},{10,110},{13,55},{16,44},{19,229},{22,182},{25,352},{28,401},{31,130},{34,334},{34,240},{37,240},{37,56},{40,56}};
    protected static final int[] TMHM_MOVES         =   {264,352,92,258,237,58,59,182,240,218,231,216,91,280,104,317,263,290,156,213,362,374,203,360,445,363,207,164,57,70,250,249,127};

	/* Create new Squirtle with default name */
	public Squirtle(int trainerID) {
		super(NUMBER,NAME,false,Pokemon.calcGender(MFRATIO),TYPES,
			STATS,EVYIELDS,EXPTYPE,EVOLVES_AT_LVL,EVOLVES_INTO,
			trainerID,BASE_MOVES,LEVEL_UP_MOVES,TMHM_MOVES);
	}

	/* Create new Squirtle with nickname */
	public Squirtle(String name,int trainerID) {
		super(NUMBER,name,true,Pokemon.calcGender(MFRATIO),TYPES,
			STATS,EVYIELDS,EXPTYPE,EVOLVES_AT_LVL,EVOLVES_INTO,
			trainerID,BASE_MOVES,LEVEL_UP_MOVES,TMHM_MOVES);
	}

	/* Create new Squirtle with default name & custom level*/
	public Squirtle(int level,int trainerID) {
		super(NUMBER,NAME,false,level,Pokemon.calcGender(MFRATIO),TYPES,
			STATS,EVYIELDS,EXPTYPE,EVOLVES_AT_LVL,EVOLVES_INTO,
			trainerID,BASE_MOVES,LEVEL_UP_MOVES,TMHM_MOVES);
	}

	/* Create new Squirtle with nickname & custom level */
	public Squirtle(String name,int level,int trainerID) {
		super(NUMBER,name,true,level,Pokemon.calcGender(MFRATIO),TYPES,
			STATS,EVYIELDS,EXPTYPE,EVOLVES_AT_LVL,EVOLVES_INTO,
			trainerID,BASE_MOVES,LEVEL_UP_MOVES,TMHM_MOVES);
	}
}